function func_post(url, body) {
    // 定义要请求的URL
    var result = null;
    var output = null;
    $.post({
        url: url,
        dataType: "json",
        data: body,
        async: false,
        headers: {
            "Content-Type": "application/json",
            "Access-Control-Allow-Origin": "*"
        },
        success: function (response) {
            console.log("POST请求成功:", response);
            result = response;
        },
        error: function (xhr, textStatus, errorThrown) {
            console.log("POST请求失败：", xhr, textStatus, errorThrown);
        }
    })
    return JSON.stringify(result);
}
